<!DOCTYPE html>
<html>
  <head>
    <title>我的建议</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
      <link rel="stylesheet" href="${s.base}/mobile/base/css/weui.min.css">
      <link rel="stylesheet" href="${s.base}/mobile/base/css/jquery-weui.css">
      <link rel="stylesheet" href="${s.base}/mobile/wechat/css/base.css">
      <link rel="stylesheet" href="${s.base}/mobile/wechat/css/component.css">
      <link rel="stylesheet" type="text/css" href="${s.base}/mobile/base/lib/DateSelector/DateSelector.css?rev=@@hash"/>
  </head>
  <body>
	<div class="xyg-comp-list-select" style="margin-top: 0.5rem;">
       <div class="xyg-comp-list-select-item" style="height: 6rem;">
            <textarea style="width: 100%; height:5rem;border: 0px; margin-top: 0.5rem; line-height: 1rem;color: #999999;" id="content" placeholder="建议..."></textarea>
       </div> 
  	</div>
   <div class="xyg-bottom">
    	<a href="javascript:submit();" class="weui-btn weui-btn_warn">提交</a>
    </div>

  <style type="text/css">
	  html,body{background:#f5f5f5;}
  	.xyg-comp-list-select{width:92%; margin: 0px 4%; height:auto;}
	  .xyg-comp-list-select .xyg-comp-pic{width:90%; padding:0.5rem 5%; background: #FFF;}
	  .xyg-comp-list-select .xyg-comp-pic-title{width:100%;line-height:1.5rem; padding-bottom: 0.5rem; font-size: 0.8rem; color:#000; letter-spacing: 0.01rem; }
	  .xyg-comp-list-select .xyg-comp-pic-title-left{width: 50%; height: 6rem; float: left;}
	   .xyg-comp-list-select .xyg-comp-pic-title-left img{width: 100%; height: 6rem;}
	   .xyg-comp-list-select .xyg-comp-pic-title-right{width: 50%; height: 6rem; float: left;}
	  
	.xyg-comp-list-select-item{width:90%; padding:0px 5%; line-height:2.2rem; height:2.2rem;font-size: 0.8rem; color:#000; letter-spacing: 0.01rem; background: #FFF; border: 0.001rem solid #f5f5f5;}
	  
 .xyg-comp-list-select-item textarea::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #999999;
}
 .xyg-comp-list-select-item textarea:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #999999;
}
 .xyg-comp-list-select-item textarea::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #999999;
}
 .xyg-comp-list-select-item textarea::-ms-input-placeholder {
  /* Internet Explorer 10+ */
	color: #999999;}
 

	  .xyg-comp-list-select-item input::-webkit-input-placeholder {color: #999999;}
	.xyg-comp-list-select-item .xyg-comp-list-select-item-icon{width:70%; line-height:2rem; text-align:right; float:left; color: #999999;}
	.xyg-comp-list-select-item .xyg-comp-list-select-item-title{width:30%; height:2rem; text-align:left; float:left;}
	.xyg-comp-list-select-item .xyg-comp-list-select-item-content{width:70%; height:2rem; text-align:left; float:left;}
	.xyg-comp-list-select-item .xyg-comp-list-select-item-content input{width:100%; height:2rem; line-height:2rem;background-color:transparent;border:0; text-align:right;}
	.xyg-comp-xy{height:2rem; line-height:2rem; width:width:93%; margin:0px 2% 0px 5%;}
	.xyg-bottom{width:90%; height:auto;  margin:1.5rem 5%;}
  </style>
  </body>
  <script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
  <script src="${s.base}/mobile/base/js/jquery-2.1.4.js" type="text/javascript" charset="utf-8"></script>
  <script src="${s.base}/mobile/base/js/jquery-weui.js" type="text/javascript" charset="utf-8"></script>
  <script src="${s.base}/mobile/base/js/swiper.js" type="text/javascript" charset="utf-8"></script>
  <script src="${s.base}/mobile/base/js/component.js?12323434323232323232" type="text/javascript" charset="utf-8"></script>
  <script src="${s.base}/mobile/wechat/fonts/iconfont.js"></script>
  <script src="${s.base}/mobile/wechat/js/window_port.js"></script>
  <script src="${s.base}/mobile/wechat/js/base.js"></script>
  <script type="text/javascript">
      var memberId='${memberId}';
      function submit() {
          var content = $("#content").val();
          if(content == null || content == "") {
              $.toast("请输入建议内容", "text");
              return false;
          }
          $.fn.postMethodResult("/weChat/adviseSave",{'content':content,'memberId':memberId},function (data) {
              $.alert("您建议提交成功，我们将会及时处理！",function () {
                  goMyPage(memberId);
              });
          });
      }
  </script>
</html>

